﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IsPay
{
    public partial class paydetail : System.Web.UI.Page
    {
        public string tbBody = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string action = Request.Params["action"];
                if (string.IsNullOrEmpty(action))
                {

                }
                else
                {
                    string startTime = Request.Params["txtStartTime"];
                    string endTime = Request.Params["txtEndTime"];
                    string orderNo = Request.Params["orderNo"];
                    string receiptRemitType = Request.Params["receiptRemitType"];


                }
            }
        }

        protected void calStartTime_SelectionChanged(object sender, EventArgs e)
        {
            txtStartTime.Text = calStartTime.SelectedDate.ToString("yyyy-MM-dd");
            calStartTime.Visible = false;
        }

        protected void calEndTime_SelectionChanged(object sender, EventArgs e)
        {
            txtEndTime.Text = calEndTime.SelectedDate.ToString("yyyy-MM-dd");
            calEndTime.Visible = false;
        }

        protected void imgEndTime_Click(object sender, ImageClickEventArgs e)
        {
            calEndTime.Visible = !calEndTime.Visible;
            
        }

        protected void imgStartTime_Click(object sender, ImageClickEventArgs e)
        {
            calStartTime.Visible = !calStartTime.Visible;
        }
    }
}